Skip to content

Use strdup on non-Windows systems #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2024

Conversation

apgrucza
Copy link
Contributor

@apgrucza apgrucza commented May 13, 2024

Prior to #6, psqlODBC only used _strdup on Windows builds. Although _strdup is part of ISO C and C++, it does not compile on all systems.

Fixes #15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

#define pg_strdup _strdup
2 participants